
#include "T_Buffer_CU.h"
#include "T_Buffer_GL.h"

int main(int argc, char ** argv)
{
	//I_Buffer * pBuffer = new T_cuBuffer<float>();

	//I_DoubleBuffer * pDoubleBuffer = new T_cuDoubleBuffer<float>();

	//I_Buffer2D * pBuffer2D = new T_cuBuffer2D<float>();

	//pBuffer->Create(3);

	//float * p = (float *) pBuffer->Map(e_Map_WO);
	//p[0] = 0;
	//p[1] = 2;
	//p[2] = 4;

	//pBuffer->Unmap();

	//((float *)pBuffer->hPtr())[1] = 0;

	//p = (float *)pBuffer->Map(e_Map_RO);

	//I_Buffer * pBufferGL = new T_glBuffer<float>();

	//I_Buffer2D *pBuffer2DGL = new T_glBuffer2D<float>();

	//I_DoubleBuffer *pDoubleBufferGL = new T_glDoubleBuffer<float>();

	return 0;
}